import Home from "@/components/Home"
import Media from '@/components/Media'
import Game from '@/components/Game'
import content from '@/components/Content'
import personNav from '@/components/PersonNav'
import userInfo from '@/components/UserInfo'
import writeContent from '@/components/writeContent'
import contentNav from '@/components/ContentNav'
import editorContent from '@/components/editorContent'
export default {
    routes: [{
            path: "/home",
            component: Home
        },
        {
            path: "/media",
            component: Media
        },
        {
            path: "/game",
            component: Game
        },
        {
            path: "/content/:id",
            component: content
        },
        {
            path: "/person",
            component: personNav,
            children: [{
                path: "/userInfo",
                component: userInfo
            }, {
                path: "/contentNav",
                component: contentNav,
                children: [{
                    path: "/writeContent/:id",
                    component: writeContent
                }, {
                    path: "/editorContent/:id/:id",
                    component: editorContent
                }]
            }]
        },
        {
            path: "/*",
            component: Home
        }
    ]
}